package renthouse.entry;/*
 * @创建者：黄苟苟
 * @创建时间：2021/5/18   16:56
 * @Description描述
 **/

public class Landlord  {
    private int masterid;
    private String name;
    private String  sex;
    private String phone;
    private String numberid;
    private String loginname;
    private String password;


    /*构造器*/

    public Landlord() {
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + masterid +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", numberid='" + numberid + '\'' +
                ", loginname='" + loginname + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public Landlord(int masterid, String name, String sex, String phone, String numberid, String loginname, String password) {
        this.masterid = masterid;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.numberid = numberid;
        this.loginname = loginname;
        this.password = password;
    }

    /*getset方法*/

    public int getId() {
        return masterid;
    }

    public void setId(int id) {
        this.masterid = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNumberid() {
        return numberid;
    }

    public void setNumberid(String numberid) {
        this.numberid = numberid;
    }

    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

}
